/*
 
 HLPView.h
 
 Coding for HLPViewController.m has used reference from the following link
 http://lievendekeyser.net/index.php?module=messagebox&action=message&msg_id=1351
 
 Author: Steven He <cha42@sfu.ca>
 
 Copyright (C) 2010 Green-Power
 
 URL: http://code.google.com/p/green-power
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 $Id$
 */

/**
 * View that displays a set of images. 
 *
 * One image is displayed at a time and transition is handled via swiping 
 * left and right.
 */
@interface HLPView : UIView
{
	NSArray * mImages; //Image Array, all images will be loaded and stored here for use
	UIImageView * mLeftImageView;
	UIImageView * mCurrentImageView;
	UIImageView * mRightImageView;
	
	NSUInteger mCurrentImage;
	
	BOOL mSwiping; // YES if swiping should countinue
	CGFloat mSwipeStart;
}

/**
 * Create a new view from images specified by their path
 * 
 * \param inImages The images (UIImage instances) that will be displayed by this view
 */
- (id)initWithImages:(NSArray *)inImages;

@end
